<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="https://lib.baomitu.com/systemjs/6.10.2/system.min.js"></script>
  <script src="./require.js"></script>
</head>
<body>
  <div id="demo1"></div>
  <div id="demo2"></div>
  <script>

    rj.config({
      paths: {
        lodash: 'https://cdn.bootcdn.net/ajax/libs/lodash.js/4.17.21/lodash.min.js'
      }
    });
    require(['lodash', 'a'], function(_, a) {
      console.log('run start!');
      document.getElementById('demo1').innerHTML = _.random(101);
      document.getElementById('demo2').innerHTML = a.str();
    })
  </script>
</body>
</html>